//
//  HTThumbnailView.h
//  HelpThePoor
//
//  Created by lidechen on 2018/4/26.
//  Copyright © 2018年 van7ish. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HTThumbnailViewDelegate<NSObject>

-(void)didselectIndex:(NSInteger)index;

@end

@interface HTThumbnailView : UIView

/** 书刊路径 */
@property (nonatomic, copy) NSString * filePath;
/** 是否本地阅读 */
@property (nonatomic, assign) BOOL native;
/** 有多少页 */
@property (nonatomic, assign) NSInteger pages;

/** 数据源 */
@property (nonatomic, strong) NSArray * dataArr;

@property(nonatomic,strong)UICollectionView *m_collectionView;

@property(nonatomic,assign)NSInteger    selectIndex;

@property(nonatomic,weak)id<HTThumbnailViewDelegate> delegate;

-(void)reloadView;

@end
